﻿using System;
using System.Collections.Generic;
using System.Data;

namespace EnterpriseLibraryGeneric.DataAccess
{
    public class DataAccessParameter
    {
        public string ParameterName { get; set; }
        public DbType ParameterType { get; set; }
        public ParameterDirection ParameterDir { get; set; }
        public object ParameterValue { get; set; }
        public int Size { get; set; }

        public DataAccessParameter(string parameterName, DbType parameterType, ParameterDirection paramaterDir, object parameterValue, int size)
        {
            this.ParameterName = parameterName;
            this.ParameterType = parameterType;
            this.ParameterDir = paramaterDir;
            this.ParameterValue = parameterValue;
            this.Size = size;
        }

    }
}
